release: release_mpi release_omp
debug: debug_mpi debug_omp

release_mpi:
	(cd ../maxsat/ga/mpi; make release)
	(cd ../maxsat/sa/mpi; make release)
	(cd ../maxsat/ga_sa/mpi; make release)

	(cd ../ode1ivp/ga/mpi; make release)
	(cd ../ode1ivp/sa/mpi; make release)

	(cd ../onemax/ga/mpi; make release)

	(cd ../qap/ga/mpi; make release)
	(cd ../qap/sa/mpi; make release)
	(cd ../qap/ga_sa/mpi; make release)

	(cd ../rastrigin/ga/mpi; make release)
	(cd ../rastrigin/sa/mpi; make release)
	(cd ../rastrigin/ga_sa/mpi; make release)

release_omp:
	(cd ../maxsat/ga/omp; make release)
	(cd ../maxsat/sa/omp; make release)
	(cd ../maxsat/ga_sa/omp; make release)

	(cd ../ode1ivp/ga/omp; make release)
	(cd ../ode1ivp/sa/omp; make release)

	(cd ../onemax/ga/omp; make release)

	(cd ../qap/ga/omp; make release)
	(cd ../qap/sa/omp; make release)
	(cd ../qap/ga_sa/omp; make release)

	(cd ../rastrigin/ga/omp; make release)
	(cd ../rastrigin/sa/omp; make release)
	(cd ../rastrigin/ga_sa/omp; make release)

debug_mpi:
	(cd ../maxsat/ga/mpi; make debug)
	(cd ../maxsat/sa/mpi; make debug)
	(cd ../maxsat/ga_sa/mpi; make debug)

	(cd ../ode1ivp/ga/mpi; make debug)
	(cd ../ode1ivp/sa/mpi; make debug)

	(cd ../onemax/ga/mpi; make debug)

	(cd ../qap/ga/mpi; make debug)
	(cd ../qap/sa/mpi; make debug)
	(cd ../qap/ga_sa/mpi; make debug)

	(cd ../rastrigin/ga/mpi; make debug)
	(cd ../rastrigin/sa/mpi; make debug)
	(cd ../rastrigin/ga_sa/mpi; make debug)

debug_omp:
	(cd ../maxsat/ga/omp; make debug)
	(cd ../maxsat/sa/omp; make debug)
	(cd ../maxsat/ga_sa/omp; make debug)

	(cd ../ode1ivp/ga/omp; make debug)
	(cd ../ode1ivp/sa/omp; make debug)

	(cd ../onemax/ga/omp; make debug)

	(cd ../qap/ga/omp; make debug)
	(cd ../qap/sa/omp; make debug)
	(cd ../qap/ga_sa/omp; make debug)

	(cd ../rastrigin/ga/omp; make debug)
	(cd ../rastrigin/sa/omp; make debug)
	(cd ../rastrigin/ga_sa/omp; make debug)
clean:
	(cd ../maxsat/ga/mpi; make clean)
	(cd ../maxsat/ga/omp; make clean)
	(cd ../maxsat/sa/mpi; make clean)
	(cd ../maxsat/sa/omp; make clean)
	(cd ../maxsat/ga_sa/mpi; make clean)
	(cd ../maxsat/ga_sa/omp; make clean)

	(cd ../ode1ivp/ga/mpi; make clean)
	(cd ../ode1ivp/ga/omp; make clean)
	(cd ../ode1ivp/sa/mpi; make clean)
	(cd ../ode1ivp/sa/omp; make clean)

	(cd ../onemax/ga/mpi; make clean)
	(cd ../onemax/ga/omp; make clean)

	(cd ../qap/ga/mpi; make clean)
	(cd ../qap/ga/omp; make clean)
	(cd ../qap/ga_sa/mpi; make clean)
	(cd ../qap/ga_sa/omp; make clean)
	(cd ../qap/sa/mpi; make clean)
	(cd ../qap/sa/omp; make clean)

	(cd ../rastrigin/ga/mpi; make clean)
	(cd ../rastrigin/ga/omp; make clean)
	(cd ../rastrigin/ga_sa/mpi; make clean)
	(cd ../rastrigin/ga_sa/omp; make clean)
	(cd ../rastrigin/sa/mpi; make clean)
	(cd ../rastrigin/sa/omp; make clean)
